<!--
 * @Author: WLang
 * @LastEditors: WLang
 * @Description: 
 * @Date: 2023-07-13 12:51:19
 * @LastEditTime: 2023-07-14 16:01:15
 * @FilePath: \myblog\src\mviews\TabBar.vue
-->
<template>
  <compponent :is="barType"/>
</template>
<script>
import TabBar from '@/mviews/components/TabBar.vue'
import CommentBar from './components/CommentBar.vue';
export default {
  components:{
    TabBar,
    CommentBar
  },
  data(){
    return {
      barType: 'TabBar'
    }
  },
created(){
},
mounted(){},
watch:{
  $route(to){
   this.barType = to.meta.tabType;
  }
},
computed:{},
methods:{},
}
</script>
<style  scoped>
</style>